$def with (privData)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
$:privData['render'].header(privData)
<body>
$:privData['render'].pageheader(privData)

<h2>编辑会员信息</h2>
<form action="$makeUrl('/admin/user/modify')" method="post">
    <table width="750" border="0" cellspacing="0" cellpadding="1" class="addtable">
        <tr>
            <td width="100" scope="col">头像:</td>
            <td width="608" scope="col">
                $:privData['render'].thumbnail_select_widget(privData)
            </td>
        </tr>
        <tr>
            <td width="100" scope="col">邮箱地址:</td>
            <td width="608" scope="col"><input name="email" type="text" value="$:privData['USER_INFO']['email']" disabled /></td>
        </tr>
        <tr>
            <td width="100" scope="col">密码:</td>
            <td width="608" scope="col"><input name="passwd" type="password"  value="$:privData['USER_INFO']['passwd']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col">级别:</td>
            <td width="608" scope="col"><input name="rank" type="text"  value="$:privData['USER_INFO']['rank']" /></td>
        </tr> 
        <tr>
            <td width="100" scope="col">昵称:</td>
            <td width="608" scope="col"><input name="nickname" type="text"  value="$:privData['USER_INFO']['nickname']"/></td>
        </tr>
        <tr>
            <td width="100" scope="col">姓名:</td>
            <td width="608" scope="col"><input name="name" type="text" value="$:privData['USER_INFO']['name']"/></td>
        </tr>
        <tr>
            <td scope="col">性别:</td>
            <td scope="col">
                $for k,v in privData['GENDER_LIST'].items():
                    <input type="radio" value="$:k" name="gender"
                    $if k == privData['USER_INFO']['gender']:
                        checked="checked"
                    >
                    $:v
            </td>
        </tr>
        <tr>
            <td width="100" scope="col">电话:</td>
            <td width="608" scope="col"><input name="phoneno" type="text"  value="$:privData['USER_INFO']['phoneno']"/></td>
        </tr>                         
        <tr>
            <td width="100" scope="col">地址:</td>
            <td width="608" scope="col"><input name="address" type="text" value="$:privData['USER_INFO']['address']"/></td>
        </tr>                         

        <tr>
            <td colspan="2" scope="col">
                <input name="email" type="hidden" value="$:privData['USER_INFO']['email']"/>
                <input type="submit" name="submit" value="保存" id="submits" /></td>
        </tr>
</form>
</body></html>

